<h3><?php echo __("Redirecting to Paypal......")?></h3>
<form id="paypalform" action="<?php echo $paypalUrl?>" method="post" style="display:none">
	<?php foreach( $ipnVars as $ipnVar => $ipnVal) { ?>
		<input type="hidden" value="<?php echo $ipnVal?>" name="<?php echo $ipnVar?>"/>
	<?php } ?>
</form>
<?php 
	$clickLink = '<a href="javascript:void(0)" onclick="$(\'#paypalform\').submit()">'.__("Click Here").'</a>';
?>
<br />
<?php echo String::insert(__("If page doesn't redirect please :clickLink"),array('clickLink'=>$clickLink)); ?>
<script>
	$(document).ready(function(){
		$("#paypalform").submit();
	})
</script>